package day03_inherit.Auto;

public class SUV extends Car {
    private int miniLength = 4295;
    private int midLength = 5070;

    public boolean miniSUV() {
        return getCar_length() <= miniLength;
    }

    public boolean largeSUV() {
        return getCar_length() > midLength;
    }

    public boolean midSUV() {
        return getCar_length() > miniLength && getCar_length() <= midLength;
    }

    public SUV() {
    }

    public SUV(int car_length, int price) {
        super("SUV", car_length, price);
    }
}
